package com.zbkj.crmeb.store.service;

import com.crmeb.core.common.CommonResult;
import com.zbkj.crmeb.chant.request.ActivityProductRequest;
import com.zbkj.crmeb.chant.request.BatchActivityRequest;
import com.zbkj.crmeb.store.model.StoreProductActivity;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zbkj.crmeb.store.response.StoreProductResponse;

import java.util.List;

/**
 * <p>
 * 限时活动商品表 服务类
 * </p>
 *
 * @author wuzp
 * @since 2022-05-30
 */
public interface StoreProductActivityService extends IService<StoreProductActivity> {

    CommonResult<Object> batchDelete(BatchActivityRequest request);

    CommonResult<Object> batchAddActivity(BatchActivityRequest request, Integer merId);

    StoreProductResponse getByProductId(Integer id,Integer activityId, Integer merId);

    boolean updateActivityProduct(ActivityProductRequest request, Integer merId);

}
